Skip to content
This repository was archived by the owner on Mar 25, 2020. It is now read-only.

Conversation

@lockedscope
Copy link

Resetting reusable cell directly.

Resetting reusable cell directly.
@SlaunchaMan
Copy link
Owner

At this point, why even bother with the tableViewCellIsPreparingForReuse: method? Why not just call [[cell imageView] setImage:nil] after it’s dequeued?

Cell resetting logic removed from prepareForReuse to UITableView's cellForRowAtIndexPath.

"If a UITableViewCell object is reusable—that is, it has a reuse identifier—this method is invoked just before the object is returned from the UITableView method dequeueReusableCellWithIdentifier:."
So, method call removed also.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants